#ifndef DIALOGIMPORT_H
# define DIALOGIMPORT_H

# include <QDialog>
# include "TypeDefinition.hpp"
# include "TileCutter.hpp"
# include "SpriteSheet.hpp"

namespace Ui
{
    class DialogImport;
}

class DialogImport : public QDialog
{
    Q_OBJECT
    
public:
    explicit DialogImport(std::list<SpriteSheet*> &imageList, QWidget *parent = 0);
    ~DialogImport();

    void    initWidgets();
    bool    spritesLoaded() const;

public slots:
    void    buttonActionBrowse();
    void    buttonActionImport();
    
private:
    Ui::DialogImport *ui;
    std::list<SpriteSheet*>&  _imageList;

    bool    _spritesLoaded;
};

#endif // DIALOGIMPORT_H
